<?xml version="1.0" encoding="ISO-8859-1" ?>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@include file="../../context.jsp"%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Add Quarter Share data</title>
<%@include file="../common_Admin_imports.jsp"%>
<%@include file="../common_loding_imports.jsp"%>
</head>
<body>
	<div class="main_wrapper">
		<div class="header_wrapper">
			<div class="container-fluid">
				<div class="header_inner_wrapper clearfix">
					<div class="row-fluid">
						<div class="header_left span4">Quarter Share Data Setup</div>
						<jsp:include page="../common_link.jsp" />
					</div>
				</div>
				<div class="content_wrapper">
					<div class="container-fluid">
						<div class="row-fluid">
							<div class="input_box_wrapper">
								<div class="input_box_wrapper_text_aery">
									<form:form method="POST" commandName="quarterlyShareData"
										action="${pageContext.request.contextPath}/admin/quarterlysharedata/add/process.html"
										class="form-horizontal">
										<div>${message}</div>
										<div class="input_box_wrapper_left span5">
											<div class="control-group">
												<label class="control-label" for="inputEmail">Company
													:</label>
												<div class="controls">
													<form:select itemValue="id" itemLabel="name"
														path="company.id" items="${companyMap}">
													</form:select>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Year :</label>
												<div class="controls">
													<form:input path="year" />
												</div>
												<div class="controls">
													<form:errors path="year" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Quarter
													Code :</label>
												<div class="controls">
													<form:input path="quarterCode" />
												</div>
												<div class="controls">
													<form:errors path="quarterCode" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Profit
													:</label>
												<div class="controls">
													<form:input path="profit" var="balance" value="" />
												</div>
												<div class="controls">
													<form:errors path="profit" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Weighted
													Average :</label>
												<div class="controls">
													<form:input path="weightedAverage" />
												</div>
												<div class="controls">
													<form:errors path="weightedAverage" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Average
													Equity :</label>
												<div class="controls">
													<form:input path="averageEquity" />
												</div>
												<div class="controls">
													<form:errors path="averageEquity" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Average
													Total Assert :</label>
												<div class="controls">
													<form:input path="averageTotalAsse" />
												</div>
												<div class="controls">
													<form:errors path="averageTotalAsse" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Profit
													After Tax :</label>
												<div class="controls">
													<form:input path="profitAfterTax" />
												</div>
												<div class="controls">
													<form:errors path="profitAfterTax" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">EBITDA
													:</label>
												<div class="controls">
													<form:input path="ebitda" />
												</div>
												<div class="controls">
													<form:errors path="ebitda" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Cash :</label>
												<div class="controls">
													<form:input path="cash" />
												</div>
												<div class="controls">
													<form:errors path="cash" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Percent
													Own by Insiders :</label>
												<div class="controls">
													<form:input path="percentOwnbyInsiders" />
												</div>
												<div class="controls">
													<form:errors path="percentOwnbyInsiders" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">InstOwnership
													:</label>
												<div class="controls">
													<form:input path="instOwnership" />
												</div>
												<div class="controls">
													<form:errors path="instOwnership" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Shares
													In Free float :</label>
												<div class="controls">
													<form:input path="sharesInFreefloat" />
												</div>
												<div class="controls">
													<form:errors path="sharesInFreefloat" cssClass="error"></form:errors>
												</div>
											</div>
											<input class="btn btn-inverse save" type="submit"
												value="Save" />
										</div>
										<div class="input_box_wrapper_right span5">
											<div class="control-group">
												<label class="control-label" for="inputEmail">DEBT :</label>
												<div class="controls">
													<form:input path="debt" />
												</div>
												<div class="controls">
													<form:errors path="debt" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Total
													Share OutStanding :</label>
												<div class="controls">
													<form:input path="totShareOutstand" />
												</div>
												<div class="controls">
													<form:errors path="totShareOutstand" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Equity
													To Shareholder :</label>
												<div class="controls">
													<form:input path="equityToSharehol" />
												</div>
												<div class="controls">
													<form:errors path="equityToSharehol" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Last
													Four Qtr Weighted :</label>
												<div class="controls">
													<form:input path="lstFourQtrWeighted" />
												</div>
												<div class="controls">
													<form:errors path="lstFourQtrWeighted" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Revenue
													:</label>
												<div class="controls">
													<form:input path="revenues" />
												</div>
												<div class="controls">
													<form:errors path="revenues" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Adjested
													to equity shareholder; :</label>
												<div class="controls">
													<form:input path="adjestedEquityShareholder" />
												</div>
												<div class="controls">
													<form:errors path="adjestedEquityShareholder"
														cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Adjested
													total assets :</label>
												<div class="controls">
													<form:input path="adjestedTotalAssets" />
												</div>
												<div class="controls">
													<form:errors path="adjestedTotalAssets" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Recurring
													NetProfit :</label>
												<div class="controls">
													<form:input path="recurringNetProfit" />
												</div>
												<div class="controls">
													<form:errors path="recurringNetProfit" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Current
													Assets :</label>
												<div class="controls">
													<form:input path="currentAssets" />
												</div>
												<div class="controls">
													<form:errors path="currentAssets" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Current
													Liability :</label>
												<div class="controls">
													<form:input path="currentLiability" />
												</div>
												<div class="controls">
													<form:errors path="currentLiability" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Last
													Four Qtr Recurring Profit :</label>
												<div class="controls">
													<form:input path="lstFourQtrRecurringProfit" />
												</div>
												<div class="controls">
													<form:errors path="lstFourQtrRecurringProfit"
														cssClass="error"></form:errors>
												</div>
											</div>
										</div>
									</form:form>
								</div>
							</div>
						</div>
						<div class="input_box_wrapper_text_aery"
							style="padding-top: 30px;">
							<div class="row-fluid dataUploadGrid">
								<div class="input_box_wrapper_left span5">
									<b class="file_name"> Upload a file :</b>
									<form:form class="form-horizontal" method="POST"
										modelAttribute="uploadFile" enctype="multipart/form-data"
										action="${pageContext.request.contextPath}/admin/quarterlysharedata/add/file_process.html">
										<div>Please select all company quarter data file to
											process :</div>
										<div>
											<input type="file" name="file" /><input
												class="btn btn-inverse save" id="btnSubmitAll" type="submit"
												value="upload" />
										</div>
									</form:form>
								</div>
								<div class="input_box_wrapper_right span5">
									<b class="file_name"> Upload a file :</b>
									<form:form class="form-horizontal" method="POST"
										modelAttribute="uploadFile" enctype="multipart/form-data"
										action="${pageContext.request.contextPath}/admin/quarterlysharedata/add/company_process.html">
										<div>Please select only one company quarter data file to
											process :</div>
										<div>
											<input type="file" name="file" /><input
												class="btn btn-inverse save" id="btnSubmitCompany"
												type="submit" value="upload" />
										</div>
									</form:form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<%@include file="../components/loading.jsp"%>
</body>
</html>